package db.migration;

import net.jiastudy.core.base.BaseMigration;

public class V1_0_21__modify_dept_project_name extends BaseMigration {
    @Override
    public void migrate() throws Exception {
        if (isFieldExist("dept_project_work", "name")) {
            jdbcTemplate.update("ALTER TABLE `dept_project_work` CHANGE `name` `name` TEXT NULL COMMENT '工作名称';");
        }
    }
}
